Integrand size = 20, antiderivative size = 48 \[ \int \frac {(d x)^m (a+b x)}{\sqrt {c x^2}} \, dx=\frac {a x (d x)^m}{m \sqrt {c x^2}}+\frac {b x (d x)^{1+m}}{d (1+m) \sqrt {c x^2}} \]
[Out]
Time = 0.02 (sec) , antiderivative size = 48, normalized size of antiderivative = 1.00, number of steps used = 4, number of rules used = 3, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.150, Rules used = {15, 16, 45} \[ \int \frac {(d x)^m (a+b x)}{\sqrt {c x^2}} \, dx=\frac {a x (d x)^m}{m \sqrt {c x^2}}+\frac {b x (d x)^{m+1}}{d (m+1) \sqrt {c x^2}} \]
[In]
[Out]
Rule 15
Rule 16
Rule 45
Rubi steps \begin{align*} \text {integral}& = \frac {x \int \frac {(d x)^m (a+b x)}{x} \, dx}{\sqrt {c x^2}} \\ & = \frac {(d x) \int (d x)^{-1+m} (a+b x) \, dx}{\sqrt {c x^2}} \\ & = \frac {(d x) \int \left (a (d x)^{-1+m}+\frac {b (d x)^m}{d}\right ) \, dx}{\sqrt {c x^2}} \\ & = \frac {a x (d x)^m}{m \sqrt {c x^2}}+\frac {b x (d x)^{1+m}}{d (1+m) \sqrt {c x^2}} \\ \end{align*}
Time = 0.03 (sec) , antiderivative size = 33, normalized size of antiderivative = 0.69 \[ \int \frac {(d x)^m (a+b x)}{\sqrt {c x^2}} \, dx=\frac {x (d x)^m (a+a m+b m x)}{m (1+m) \sqrt {c x^2}} \]
[In]
[Out]
Time = 0.02 (sec) , antiderivative size = 32, normalized size of antiderivative = 0.67
method | result | size |
gosper | \(\frac {x \left (b m x +a m +a \right ) \left (d x \right )^{m}}{\left (1+m \right ) m \sqrt {c \,x^{2}}}\) | \(32\) |
risch | \(\frac {x \left (b m x +a m +a \right ) \left (d x \right )^{m}}{\left (1+m \right ) m \sqrt {c \,x^{2}}}\) | \(32\) |
[In]
[Out]
none
Time = 0.23 (sec) , antiderivative size = 36, normalized size of antiderivative = 0.75 \[ \int \frac {(d x)^m (a+b x)}{\sqrt {c x^2}} \, dx=\frac {{\left (b m x + a m + a\right )} \sqrt {c x^{2}} \left (d x\right )^{m}}{{\left (c m^{2} + c m\right )} x} \]
[In]
[Out]
Leaf count of result is larger than twice the leaf count of optimal. 162 vs. \(2 (41) = 82\).
Time = 2.47 (sec) , antiderivative size = 162, normalized size of antiderivative = 3.38 \[ \int \frac {(d x)^m (a+b x)}{\sqrt {c x^2}} \, dx=\begin {cases} \frac {- \frac {a}{\sqrt {c x^{2}}} + \frac {b x \log {\left (x \right )}}{\sqrt {c x^{2}}}}{d} & \text {for}\: m = -1 \\\begin {cases} \frac {a x \log {\left (x \right )}}{\sqrt {c x^{2}}} + \frac {b \sqrt {c x^{2}}}{c} & \text {for}\: c \neq 0 \\\tilde {\infty } \left (a x + \frac {b x^{2}}{2}\right ) & \text {otherwise} \end {cases} & \text {for}\: m = 0 \\\frac {a m x \left (d x\right )^{m}}{m^{2} \sqrt {c x^{2}} + m \sqrt {c x^{2}}} + \frac {a x \left (d x\right )^{m}}{m^{2} \sqrt {c x^{2}} + m \sqrt {c x^{2}}} + \frac {b m x^{2} \left (d x\right )^{m}}{m^{2} \sqrt {c x^{2}} + m \sqrt {c x^{2}}} & \text {otherwise} \end {cases} \]
[In]
[Out]
none
Time = 0.22 (sec) , antiderivative size = 32, normalized size of antiderivative = 0.67 \[ \int \frac {(d x)^m (a+b x)}{\sqrt {c x^2}} \, dx=\frac {b d^{m} x x^{m}}{\sqrt {c} {\left (m + 1\right )}} + \frac {a d^{m} x^{m}}{\sqrt {c} m} \]
[In]
[Out]
Exception generated. \[ \int \frac {(d x)^m (a+b x)}{\sqrt {c x^2}} \, dx=\text {Exception raised: TypeError} \]
[In]
[Out]
Time = 0.26 (sec) , antiderivative size = 30, normalized size of antiderivative = 0.62 \[ \int \frac {(d x)^m (a+b x)}{\sqrt {c x^2}} \, dx=\frac {\left (\frac {a\,x}{m}+\frac {b\,x^2}{m+1}\right )\,{\left (d\,x\right )}^m}{\sqrt {c\,x^2}} \]
[In]
[Out]